//
//  MainClassCollectionViewCell.m
//  FlyGift
//
//  Created by lanou3g on 15/7/12.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "MainClassCollectionViewCell.h"

@implementation MainClassCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, kP6width(50),kP6Height(38))];
        self.label.textAlignment = 1;
        self.label.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_label];
        
        self.myView = [[UIView alloc]initWithFrame:CGRectMake(self.label.frame.origin.x, kP6Height(38), kP6width(50), 2)];
        self.myView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_myView];
    }
    return self;
}

@end 
